#ifndef INFOPACKET_H
#define INFOPACKET_H
#include "QString"
#include "QMap"
#include "QJsonObject"
#include "QJsonArray"
#include "QJsonValue"
#include "QtCore"
class InfoPacket
{
public:
    InfoPacket();
    void Decode2Map(QString JSONdata);
    void Add_Element(QString Key,QString Value);
    void Encode2JSON();
    QMap<QString,QJsonValue> Packet_Info;
};

#endif // INFOPACKET_H
